/*
 * Actions.java
 */

package nxtgeninventorysystem.Controller;

/**
 * The Actions class encapsulates all controller classes in the
 * Model-View-Controller design pattern. Controller classes handle
 * user interactions that may lead to modifying the model (the database).
 * The Actions class also extends the functionality of the traditional
 * Controller module of the MVC by serving as a data pipeline from the
 * Model to the View (updating the Gui depending on the queries conducted
 * on the Model).
 * @author Seraph Softworks
 */
public abstract class Actions {

    //attributes
    public static final ItemActions item = new ItemActions();
    public static final PersonActions person = new PersonActions();
    public static final TransactionActions transaction = new TransactionActions();
    public static final DatabaseActions database = new DatabaseActions();

    protected boolean busy = false;

    public Actions() {

    }

    public boolean isBusy() {
        return busy;
    }

}
